// 权限问题后期增加
import { get, post } from '/@/utils/http/axios'
import { BannerState } from '/@/store/modules/homePage/types'

enum URL {
  uploadFile = '/api/student/addimagebyte/', // 上传图片 post form
  uploadFileBase64 = '/api/student/addimage/', // 上传图片 base64 post json
}
/// 课程列表
const uploadFile = async (data) => post<any>({url :URL.uploadFile, data}); // post form

export { uploadFile }